﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace SqlServerWrapper
{
    public static class SqlCommandManager
    {
        public static SqlCommand Create(SqlConnection conn,CommandType cmdType)
        {
            SqlCommand cmd = conn.CreateCommand();
            cmd.CommandTimeout = 15;
            cmd.CommandType = cmdType;
            return cmd;
        }
    }
}
